<template>
    <div class="header-wrapper">
      <div class="header-back">
        <span class="iconfont icon-back">&#xe623;</span>
      </div>
      <div class="header-input">
        <span class="iconfont icon-input">&#xe7c6;</span>
        输入城市/景点/游玩主题
      </div>
      <div class="header-area">
        <span class="area">深圳</span>
        <span class="iconfont icon-area">&#xe6aa;</span>
      </div>
    </div>
</template>

<script>
export default {
  name: 'HomeHeader'
}
</script>
<style lang='stylus' scoped>
  @import '~styles/global.styl'
  @import '~styles/mixin.styl'
  .header-wrapper
    width: 100%
    height: .86rem
    line-height: .86rem
    color: #fff
    background: $bgColor
    display: flex
    .header-back
      width: .64rem
      float: left
      .icon-back
        font-size: .44rem
        display: block
        text-align: center
    .header-input
      flex:1
      background: #fff
      color: #ccc
      height: .6rem
      line-height: .6rem
      margin: .14rem 0 0 .1rem
      box-sizing: border-box
      padding-left: .2rem
      border-radius: .07rem
      .icon-input
        font-size: .32rem
        vertical-align: middle
    .header-area
      width: 1.2rem
      float: right
      text-align:center
      .area
        width: .7rem
        display: inline-block
        text-align:right
        float: left
        ellipsis()
      .icon-area
        margin-left: -4px
        font-size: .32rem
</style>
